package com.turing.post.common.util;

import java.math.BigInteger;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @菜单组表
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "SysOpMenuGroup")
public class SysOpMenuGroup implements java.io.Serializable {

	/**
	 * 菜单组编号
	 */
	private BigInteger menuGrpId;
	/**
	 * 菜单组名称
	 */
	private String menuGrpName;
	/**
	 * 菜单组顺序号
	 */
	private BigInteger menuGrpSeqNo;
	/**
	 * 菜单组图标
	 */
	private String menuGrpIcon;
	// 菜单列表
	private List<LeftParentMenu> leftParentMenu;

	public SysOpMenuGroup() {
		super();
	}

	/**
	 * @return
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "MenuGrpId")
	public BigInteger getMenuGrpId() {
		return menuGrpId;
	}

	public void setMenuGrpId(BigInteger menuGrpId) {
		this.menuGrpId = menuGrpId;
	}

	@Column(name = "MENUGRPNAME")
	public String getMenuGrpName() {
		return menuGrpName;
	}

	public void setMenuGrpName(String menuGrpName) {
		this.menuGrpName = menuGrpName;
	}

	@Column(name = "MENUGRPSEQNO")
	public BigInteger getMenuGrpSeqNo() {
		return menuGrpSeqNo;
	}

	public void setMenuGrpSeqNo(BigInteger menuGrpSeqNo) {
		this.menuGrpSeqNo = menuGrpSeqNo;
	}

	@Column(name = "MENUGRPICON")
	public String getMenuGrpIcon() {
		return menuGrpIcon;
	}

	public void setMenuGrpIcon(String menuGrpIcon) {
		this.menuGrpIcon = menuGrpIcon;
	}

	public List<LeftParentMenu> getLeftParentMenu() {
		return leftParentMenu;
	}

	public void setLeftParentMenu(List<LeftParentMenu> leftParentMenu) {
		this.leftParentMenu = leftParentMenu;
	}
}